Global object

Overview

If you implement the extension in a script, you can access the following global objects directly from the script. Scripts that use global objects can also be executed immediately with the script editor.

Object Type Description
App IApplication Access object to application
Context IContext Access object to execution context
Errors IErrors Access object for error information
Output IOutput Access object to output service
Search ISearchManager Access Object to Search Manager
Window IWorkspaceWindow Access object for application window
Workspace IWorkspace Access object to workspace
Object Type Description
CurrentModel IModel Access object to the model selected in the current project
CurrentProject IProject Access object to the current project
EditorPage IEditorPage Editor page access object
ViewDefenitions IViewDefinitions Access object for view definition management
UI ICommonUI Access objects to UI such as basic dialogs